import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        costomId: '',
        providerid: '',
        customid:'',
        buyId:'',
        soleid:'',
        goodsId:'',
        sellId:'',

        
    },
    getters: {},
    mutations: {
        costomId(state, costomId) {
            state.costomId = costomId
        },
        providerid(state, providerid) {
            state.providerid = providerid
        },

        customid(state, customid) {
            state.customid = customid
        },
        buyId(state, buyId) {
            state.buyId = buyId
        },

        goodsId(state, goodsId) {
            state.goodsId = goodsId
        },

        sellId(state, sellId) {
            state.sellId = sellId
        },

        soleid(state, soleid) {
            state.soleid = soleid
        },





    },
    actions: {},
    modules: {}
})
